package dale.web.user.service;

import org.apache.commons.lang.StringUtils;
import org.springframework.stereotype.Service;

import dale.web.user.model.User;

@Service
public class UserServiceImpl implements UserService {

	public UserServiceImpl() {
	}

	public void signUp(User user) {
		throw new UnsupportedOperationException();
	}

	public void signIn(User user1) {
	}

	public void signOut(User user1) {
	}

	public boolean hasUser(User user) {
		String userID = user.getUserID();
		String password = user.getPassword();
		return StringUtils.equals(userID, "dale.seo") && StringUtils.equals(password, "yeji0818");
	}
	
}
